package com.ruoyi.outuser.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.tika.config.Field;

/**
 * 用户管理对象 user
 * 
 * @author shz
 * @date 2024-07-20
 */
@Data
public class OutUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    private Boolean status;

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    private String idcard;
    private String department;
    private String position;

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    /** 课程id */
    private Long id;

    /** 用户名 */
    @Excel(name = "用户名")
    private String username;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /**  */
    private String sex;

    /** 电话 */
    @Excel(name = "电话")
    private String telephone;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 总完成课时 */
    @Excel(name = "总完成课时")
    private Long studyCourse;

    /** 今年完成课时 */
    @Excel(name = "今年完成课时")

    private Long yearCourse;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setTelephone(String telephone) 
    {
        this.telephone = telephone;
    }

    public String getTelephone() 
    {
        return telephone;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setStudyCourse(Long studyCourse) 
    {
        this.studyCourse = studyCourse;
    }

    public Long getStudyCourse() 
    {
        return studyCourse;
    }
    public void setYearCourse(Long yearCourse) 
    {
        this.yearCourse = yearCourse;
    }

    public Long getYearCourse() 
    {
        return yearCourse;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("username", getUsername())
            .append("password", getPassword())
            .append("name", getName())
            .append("createTime", getCreateTime())
            .append("sex", getSex())
            .append("telephone", getTelephone())
            .append("email", getEmail())
            .append("studyCourse", getStudyCourse())
            .append("yearCourse", getYearCourse())
            .toString();
    }
}
